package org.benjamin.sso.service.impl;

import org.benjamin.sso.domain.entity.RegisteredService;
import org.benjamin.sso.repository.RegisteredServiceRepository;
import org.benjamin.sso.service.RegisteredServiceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RegisteredServiceServiceImpl implements RegisteredServiceService {
	
	@Autowired
	private RegisteredServiceRepository registeredServiceRepository;
	
	@Override
	//@RequiresPermissions("registeredService:save")
	public void saveRegisteredService(RegisteredService registeredService) {
		this.registeredServiceRepository.save(registeredService);
	}

}
